package parroty;

import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.URISyntaxException;
import java.net.URL;

import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;

import org.w3c.dom.Document;
import org.w3c.dom.NamedNodeMap;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import org.xml.sax.InputSource;
import org.xml.sax.SAXException;

import pojo.GoogleWeatherParser;
import pojo.Weather;
import pojo.WeatherForecast;

public class Test {
	public static void main(String args[]) throws ParserConfigurationException,
			SAXException, IOException, URISyntaxException {

		WeatherForecast wf =GoogleWeatherParser.parser("beijing");
		
		 Weather w = wf.getInThreeDays();
		 System.out.println(w.getIcon());
	}
}
